package com.example.demo.com.example.proxy.staticproxy;

public class Test {
    public static void main(String[] args) {
        Father f = new Father(new Son());
        f.marry();

        Father f1 = new Father(new Daughter());
        f1.marry();
    }
}
